package com.feather.common.db;

import java.sql.CallableStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

import com.feather.common.data.Column;
import com.feather.common.data.DataItem;

/**
 * @author flogyin
 */
public interface DbFetcher {
	String getDbType();

	int getSqlType();

	DataItem fetch(ResultSet rs, Column column) throws SQLException;

	DataItem fetch(CallableStatement statement, Column column) throws SQLException;
}
